﻿@using Wkol.Models
@{
    ViewBag.Title = "Freight_management";
}

<h2>运费标准价格库维护</h2>


<div>
    <fieldset class="boun nav" style="padding-bottom:6px;">
        <legend class="len"></legend>
        <div class="col-lg-3">
            承运单位:
            <select id="Fm_cydw_1">
                @foreach (var item in ViewBag.cydw as List<CYDW>)
                {
                    <option value="@item.cy_id">@item.cy_name</option>
                }
            </select>
        </div>
        <div class="col-lg-3"><a href="#" id="add_cys">新增承运商</a></div>
        <div class="col-lg-3"><a href="#" id="add_cl">新增车辆</a></div>
    </fieldset>
</div>
<div class="row">
    <div></div>
    <div class="col-lg-3">
        <div style="height:250px">
            <table style="text-align:center;width:100%">
                <thead style="background-color:gray;font-size:15px;height:30px">
                    <tr>
                        <td>序号</td>
                        <td>车型</td>
                        <td>操作</td>
                    </tr>
                </thead>
                <tbody id="chexing">
                </tbody>
                <tfoot>
                    <tr>
                        <td>添加车型</td>
                        <td><input type="text" id="xingjian_a1" style="width:60px" /></td>
                        <td><a href="#" id="xj_TXxy">添加</a>
                        <td>
                    </tr>
                </tfoot>
            </table>
        </div>

        <div style="width:100%;display:none;height:50%" id="jtj">
            <table>
                <thead>
                    <tr>
                        <th><input type="number" id="JT_qbjt" style="width:60px" /></th>
                        <th rowspan="2" style="width:60px">公里以下</th>
                        <th><input type="number" id="JT_qbj" style="width:60px" /></th>
                        <th style="width:60px">元/车</th>
                    </tr>
                </thead>
                <tbody id="jt_tbody">
                </tbody>
                <tfoot>
                    <tr>
                        <th><input type="number" id="JT_zgjt" style="width:60px" /></th>
                        <th rowspan="2">公里以上</th>
                        <th><input type="number" id="JT_zgj" style="width:60px" /></th>
                        <th>元/公里</th>
                    </tr>
                </tfoot>
            </table>
            <div><button id="zhenjia_jt">新增阶梯</button><button id="change_jtj">修改阶梯价</button></div>
        </div>
    </div>

    <div class="col-lg-9">
        <div style="width:100%">
            <table style="text-align:center;width:100%">
                <thead style="background-color:gray;font-size:15px;height:30px">
                    <tr>
                        <td>序号</td>
                        <td>所属</td>
                        <td>车牌</td>
                        <td>载重(T)</td>
                        <td>容积(M³)</td>
                        <td>吨位(T)</td>
                    </tr>
                </thead>
                <tbody id="E_tb_e1">
                </tbody>
            </table>
        </div>

    </div>
</div>


<div id="show_xuigai" style="display: none; position: absolute; border: 1px black solid; left: 25%; top: 33%; background-color: white; background-color: #f1f1f1;width:500px;height:300px">
    <div style="text-align: right; background-color: #84acde;"><span class="XG_quxiao" style=" margin: 20px;"><i class="bi bi-x-square"></i></span></div>
    <div style="background-color: #fff;">
        <div style="width:100%">
            <table style="width:100%">
                <tbody>
                    <tr>
                        <td>承运单位：</td>
                        <td><input type="text" id="CYDW_name" /></td>
                    </tr>
                </tbody>
            </table>
        </div>


        <div style="width:100%">
            <table style="width:100%">
                <thead>
                    <tr>
                        <th>车型</th>
                        <th>所属</th>
                        <th>操作</th>
                    </tr>
                </thead>
                <tbody id="xj_cxsx">

                </tbody>
                <tfoot>
                    <tr>
                        <th></th>
                        <th></th>
                        <th></th>
                        <th><a href="#" id="xj_tjcx">添加车型</a></th>
                    </tr>
                </tfoot>
            </table>
        </div>
    </div>
    <div style="text-align:center;height:10%"><button class="XG_quxiao" id="XG_quxiao">提交审核</button></div>
</div>
<div id="cx_id"></div>


<div id="show_shangc" style="display: none; position: absolute; border: 1px black solid; left: 25%; top: 33%; background-color: white; background-color: #f1f1f1;width:500px;height:300px">
    <div style="text-align: right; background-color: #84acde;"><span class="QUED_quxiao" style=" margin: 20px;"><i class="bi bi-x-square"></i></span></div>
    <div style="background-color: #fff;">
    </div>
    <div style="text-align:center;height:10%"><button class="QUED_quxiao">返回</button></div>
</div>




<div id="add_clsj" style="display: none; position: absolute; border: 1px black solid; left: 25%; top: 33%; background-color: white; background-color: #f1f1f1;width:500px;height:300px">
    <div style="text-align: right; background-color: #84acde;"><span class="QUED_clsj" style=" margin: 20px;"><i class="bi bi-x-square"></i></span></div>
    <div style="background-color: #fff;">
        <table>
            <tbody>
                <tr>
                    <td>车牌号</td>
                    <td><input type="text" id="add_cph_a1"/></td>
                    <td>吨位</td>
                    <td><input type="number" id="add_dw_a1"/></td>
                </tr>
                <tr>
                    <td>车辆长</td>
                    <td><input type="number" id="add_cc_a1"/></td>
                    <td>车辆宽</td>
                    <td><input type="number" id="add_ck_a1"/></td>
                </tr>
                <tr>
                    <td>载重能力</td>
                    <td><input type="number" id="add_zz_a1"/></td>
                    <td>车辆容积</td>
                    <td><input type="number" id="add_rj_a1"/></td>
                </tr>
            </tbody>
        </table>
    </div>
    <div style="text-align:center;height:10%"><button id="shangc_xx">确定</button>&emsp;&emsp;<button class="QUED_clsj">返回</button></div>
</div>
@section scripts
{
    <script src="~/Scripts/jquery-3.4.1.min.js"></script>
    <script src="~/Scripts/bootstrap.min.js"></script>
    <script src="~/Scripts/Freight/Freight_management.js?id=e222ewe"></script>
}

